package MessageBuilder;

public class Director {
	private Builder builder;
	
	public Director(Builder builder) {
		this.builder = builder;
	}
	
	public void construct(String fromAddress, String toAddress) {
		builder.buildFrom(fromAddress);
		builder.buildTo(toAddress);
		builder.bulidSubject();
		builder.buildBody();
		builder.buildSendDate();
		builder.sendMessage();
	}
}
